<?php
/**
 *
 * User: anker
 * Date: 4/22/22
 * Email: <13408046898@163.com>
 **/

namespace app\api\middleware;

class Api
{
    public function handle($request, \Closure $next)
    {
//        后置中间件
        $response = $next($request);
        return $response;
    }

    /**
     * 中间件结束调度
     * @param \think\Response $response
     * @return void
     */
    public function end(\think\Response $response)
    {

    }
}